package main

func isSubsequence(s string, t string) bool {
	i := 0
	for _, c := range s {
		found := false
		for i < len(t) {
			if t[i] == byte(c) {
				i++
				found = true
				break
			}
			i++
		}
		if !found {
			return false
		}
	}
	return true
}

func main() {
	println(isSubsequence("axc", "ahbc"))
}